copyFromSimilarPreviousTxn

fun copyFromSimilarPreviousTxn(target: ParentTxn, source: ParentTxn, adjustAmounts: Boolean)

Copies the descriptions/memos, categories and amounts from the given source transaction, optionally adjusting the amounts to match the current target transaction value.

Since

Moneydance build 895

Parameters

target

the transaction to modify based on the categories and descriptions of the source

source

the transaction from which to get the split information such as descriptions, categories, etc

adjustAmounts

if true, adjust all split amounts proportionally to match the current target txn value